<?PHP

return [
    //worker名称
    'worker_name'      => 'ChatBusinessWorker',
    //gateway名称
    'gateway_name'     => 'ChatGateway',
    //bussinessWorker进程数量
    'business_process_count' => 4,
    //gateway进程数量
    'gateway_process_count'  => 4,
    //gateway起始端口
    'gateway_startPort'=>4000,  //2300
    //心跳间隔时间
    'pingInterval' => 50,
    //心跳数据
    'ping_data'    => '{"type":"ping"}',
    //websocket 服务地址
    'websocket_domain' => 'websocket://0.0.0.0:7272',
    //lanIp是Gateway所在服务器的内网IP，默认填写127.0.0.1即可
    'lanIp'            => '127.0.0.1',
    //register 服务必须是text协议
    'register_text'    => 'text://127.0.0.1:1236',
    //服务注册地址
    'register_address' => '127.0.0.1:1236',
];